package com.example.crossborderecommerce.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.crossborderecommerce.entity.Customer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.crossborderecommerce.entity.CustomerOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Yolanda
 * @since 2024-05-09
 */
@Mapper
public interface CustomerMapper extends BaseMapper<Customer> {
    public List<String> getAllNations();
    public Integer getCustomerCountByNation(String nation);
}
